package com.dayilyword.mapper;

import com.dayilyword.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;

@Repository
public interface UserMapper {


    int insertSelective(User record);

    User loginSql(String phone,String pwd);



    HashMap<String, Object> getUserInfoByPhone(User record);

    int updateByPrimaryKeySelective(User user);
}